package com.fortune.dto.in.storeMgt;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * TODO m_store
 * @author ran
 *
 */
public class StoreEditDto {

    @NotBlank(message="仓库id不能为空")
    @ApiModelProperty(example="仓库id")
    private String id;
    @NotBlank(message="仓库名称不能为空")
    @ApiModelProperty(example="仓库名称")
    private String name;
    @NotBlank(message="地址不能为空")
    @ApiModelProperty(example="地址")
    private String address;
    @NotBlank(message="电话不能为空")
    @ApiModelProperty(example="电话")
    private String phone;
    @NotBlank(message="负责人不能为空")
    @ApiModelProperty(example="负责人")
    private String userName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
